<template>
	<view class="container">
		<view class="commodity">
			<view class="Areaa" @click="Areaa()">
				<h5>A区</h5>
				<text>黄金展位</text>
			</view>
			<view class="Breaa" @click="Breaa()">
				<h5>B区</h5>
				<text>普通展位</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			Breaa(){
				uni.navigateTo({
					url:"../ordinary/ordinary?title="+'普通展架'
				})
			},
			Areaa(){
				uni.navigateTo({
					url:"../ordinary/ordinary?title="+'黄金展位'
				})
			},
			
		}
	}
</script>

<style lang="less">
.container {
	.commodity {
		display: flex;
		justify-content: space-around;
		margin-top: 40upx;
		.Areaa {
			width: 300upx;
			height: 198upx;
			background: linear-gradient(90deg, #d09f6b, #e5b989);
			border-radius: 20upx;
			text-align: center;
			h5 {
				font-size: 60upx;
				font-family: Adobe Heiti Std;
				font-weight: normal;
				color: #452603;
				margin: 16upx 0;
			}
			text {
				background: #452603;
				border-radius: 40upx;
				padding: 12upx 30upx;
				color: #ffe7cd;
				font-size: 30upx;
			}
		}
		.Breaa {
			width: 300upx;
			height: 198upx;
			background: linear-gradient(90deg, #6A6C7B, #868897);
			border-radius: 20upx;
			text-align: center;
			h5 {
				font-size: 60upx;
				font-family: Adobe Heiti Std;
				font-weight: normal;
				color: #FFFFFF;
				margin: 16upx 0;
			}
			text {
				background: #FFFFFF;
				border-radius: 40upx;
				padding: 12upx 30upx;
				color: #333333;
				font-size: 30upx;
			}
		}
	}
}
</style>
